import { getItem, setItem, removeItem } from "./utils";
import setting from "@/setting";
// 权限
export const setRights = (rights: Rights []) => {
  setItem(setting.project+"-rights", rights);
};
export const getRights = () => {
  return getItem(setting.project+"-rights");
};
export const removeRights = () => {
  removeItem(setting.project+"-rights");
};
